﻿namespace HRM.CORE.REPORT
{
    using DevExpress.Utils;
    using DevExpress.XtraPrinting;
    using DevExpress.XtraReports.UI;
    using HRM.CORE;
    using System; using Extra.ERP;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Drawing.Printing;

    public class rptA01TS : XtraReport
    {
        private BottomMarginBand BottomMargin;
        private HRM_INSURANCE cls;
        private IContainer components;
        private DetailBand Detail;
        private DetailBand Detail1;
        private DetailReportBand DetailReport;
        private XRTableCell dtFromDate;
        private XRTableCell dtToDate;
        private GroupHeaderBand GroupHeader1;
        private string m_EmployeeCode;
        private XRPictureBox ptPhoto;
        private TopMarginBand TopMargin;
        private XRLabel txtCourseMonthYear;
        private XRTableCell txtDescription;
        private XRTableCell txtFoundation;
        private XRTableCell txtHealthInsurance;
        private XRTableCell txtSocialInsurance;
        private XRLabel xrLabel1;
        private XRLabel xrLabel2;
        private XRLabel xrLabel25;
        private XRLabel xrLabel3;
        private XRLabel xrLabel4;
        private XRPictureBox xrPictureBox1;
        private XRRichText xrRichText1;
        private XRTable xrTable1;
        private XRTable xrTable2;
        private XRTable xrTable3;
        private XRTable xrTable4;
        private XRTableCell xrTableCell1;
        private XRTableCell xrTableCell10;
        private XRTableCell xrTableCell11;
        private XRTableCell xrTableCell12;
        private XRTableCell xrTableCell13;
        private XRTableCell xrTableCell14;
        private XRTableCell xrTableCell15;
        private XRTableCell xrTableCell19;
        private XRTableCell xrTableCell2;
        private XRTableCell xrTableCell20;
        private XRTableCell xrTableCell21;
        private XRTableCell xrTableCell3;
        private XRTableCell xrTableCell4;
        private XRTableCell xrTableCell5;
        private XRTableCell xrTableCell6;
        private XRTableCell xrTableCell7;
        private XRTableCell xrTableCell8;
        private XRTableCell xrTableCell9;
        private XRTableRow xrTableRow1;
        private XRTableRow xrTableRow2;
        private XRTableRow xrTableRow3;
        private XRTableRow xrTableRow4;
        private XRTableRow xrTableRow5;
        private XRTableRow xrTableRow6;
        private XRTableRow xrTableRow7;

        public rptA01TS()
        {
            this.m_EmployeeCode = "";
            this.cls = new HRM_INSURANCE();
            this.components = null;
            this.InitializeComponent();
        }

        public rptA01TS(string EmployeeCode)
        {
            this.m_EmployeeCode = "";
            this.cls = new HRM_INSURANCE();
            this.components = null;
            this.InitializeComponent();
            this.m_EmployeeCode = EmployeeCode;
        }

        protected override void Dispose(bool disposing)
        {
            if (disposing && (this.components != null))
            {
                this.components.Dispose();
            }
            base.Dispose(disposing);
        }

        private void InitializeComponent()
        {
            ComponentResourceManager manager = new ComponentResourceManager(typeof(rptA01TS));
            this.Detail = new DetailBand();
            this.xrLabel3 = new XRLabel();
            this.xrRichText1 = new XRRichText();
            this.xrTable3 = new XRTable();
            this.xrTableRow5 = new XRTableRow();
            this.xrTableCell8 = new XRTableCell();
            this.xrTableCell11 = new XRTableCell();
            this.xrTableCell13 = new XRTableCell();
            this.xrTableRow1 = new XRTableRow();
            this.xrTableCell1 = new XRTableCell();
            this.xrTableCell4 = new XRTableCell();
            this.xrTableCell2 = new XRTableCell();
            this.xrTableRow3 = new XRTableRow();
            this.xrTableCell7 = new XRTableCell();
            this.xrTableCell9 = new XRTableCell();
            this.xrTableRow4 = new XRTableRow();
            this.xrTableCell10 = new XRTableCell();
            this.xrTableCell12 = new XRTableCell();
            this.xrTable1 = new XRTable();
            this.xrTableRow2 = new XRTableRow();
            this.xrTableCell3 = new XRTableCell();
            this.xrTableCell5 = new XRTableCell();
            this.xrLabel1 = new XRLabel();
            this.xrLabel25 = new XRLabel();
            this.xrPictureBox1 = new XRPictureBox();
            this.ptPhoto = new XRPictureBox();
            this.xrLabel4 = new XRLabel();
            this.txtCourseMonthYear = new XRLabel();
            this.xrLabel2 = new XRLabel();
            this.TopMargin = new TopMarginBand();
            this.BottomMargin = new BottomMarginBand();
            this.DetailReport = new DetailReportBand();
            this.Detail1 = new DetailBand();
            this.xrTable4 = new XRTable();
            this.xrTableRow7 = new XRTableRow();
            this.dtFromDate = new XRTableCell();
            this.dtToDate = new XRTableCell();
            this.txtDescription = new XRTableCell();
            this.txtFoundation = new XRTableCell();
            this.txtSocialInsurance = new XRTableCell();
            this.txtHealthInsurance = new XRTableCell();
            this.GroupHeader1 = new GroupHeaderBand();
            this.xrTable2 = new XRTable();
            this.xrTableRow6 = new XRTableRow();
            this.xrTableCell6 = new XRTableCell();
            this.xrTableCell21 = new XRTableCell();
            this.xrTableCell14 = new XRTableCell();
            this.xrTableCell20 = new XRTableCell();
            this.xrTableCell19 = new XRTableCell();
            this.xrTableCell15 = new XRTableCell();
            this.xrRichText1.BeginInit();
            this.xrTable3.BeginInit();
            this.xrTable1.BeginInit();
            this.xrTable4.BeginInit();
            this.xrTable2.BeginInit();
            this.BeginInit();
            this.Detail.Controls.AddRange(new XRControl[] { this.xrLabel3, this.xrRichText1, this.xrTable3, this.xrTable1, this.xrLabel1, this.xrLabel25, this.xrPictureBox1, this.ptPhoto, this.xrLabel4, this.txtCourseMonthYear, this.xrLabel2 });
            this.Detail.HeightF = 1230f;
            this.Detail.Name = "Detail";
            this.Detail.Padding = new PaddingInfo(0, 0, 0, 0, 100f);
            this.Detail.TextAlignment = TextAlignment.TopLeft;
            this.xrLabel3.Font = new Font("Times New Roman", 14f, FontStyle.Bold);
            this.xrLabel3.LocationFloat = new PointFloat(1f, 1172.458f);
            this.xrLabel3.Multiline = true;
            this.xrLabel3.Name = "xrLabel3";
            this.xrLabel3.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel3.SizeF = new SizeF(741.0002f, 57.54169f);
            this.xrLabel3.StylePriority.UseFont = false;
            this.xrLabel3.StylePriority.UseTextAlignment = false;
            this.xrLabel3.Text = "PHỤ LỤC - THỜI GIAN L\x00c0M VIỆC C\x00d3 Đ\x00d3NG BHXH\r\nCHƯA HƯỞNG MỘT LẦN";
            this.xrLabel3.TextAlignment = TextAlignment.MiddleCenter;
            this.xrRichText1.LocationFloat = new PointFloat(4.768372E-05f, 171f);
            this.xrRichText1.Name = "xrRichText1";
            this.xrRichText1.SerializableRtfString = manager.GetString("xrRichText1.SerializableRtfString");
            this.xrRichText1.SizeF = new SizeF(742.9999f, 721.2916f);
            this.xrTable3.LocationFloat = new PointFloat(0f, 898.125f);
            this.xrTable3.Name = "xrTable3";
            this.xrTable3.Rows.AddRange(new XRTableRow[] { this.xrTableRow5, this.xrTableRow1, this.xrTableRow3, this.xrTableRow4 });
            this.xrTable3.SizeF = new SizeF(741.0001f, 171.5001f);
            this.xrTableRow5.Cells.AddRange(new XRTableCell[] { this.xrTableCell8, this.xrTableCell11, this.xrTableCell13 });
            this.xrTableRow5.Name = "xrTableRow5";
            this.xrTableRow5.Weight = 0.39992285961260454;
            this.xrTableCell8.Name = "xrTableCell8";
            this.xrTableCell8.Weight = 1.0669361486294937;
            this.xrTableCell11.Name = "xrTableCell11";
            this.xrTableCell11.Weight = 0.064415440926306772;
            this.xrTableCell13.Font = new Font("Times New Roman", 12f, FontStyle.Bold);
            this.xrTableCell13.Name = "xrTableCell13";
            this.xrTableCell13.StylePriority.UseFont = false;
            this.xrTableCell13.Text = "X\x00e1c nhận của người sử dụng lao động";
            this.xrTableCell13.Weight = 1.0506759477065846;
            this.xrTableRow1.Cells.AddRange(new XRTableCell[] { this.xrTableCell1, this.xrTableCell4, this.xrTableCell2 });
            this.xrTableRow1.Name = "xrTableRow1";
            this.xrTableRow1.Weight = 1.3097172201845706;
            this.xrTableCell1.Font = new Font("Times New Roman", 12f);
            this.xrTableCell1.Name = "xrTableCell1";
            this.xrTableCell1.StylePriority.UseFont = false;
            this.xrTableCell1.StylePriority.UseTextAlignment = false;
            this.xrTableCell1.Text = "T\x00f4i xin cam đoan những nội dung k\x00ea khai tr\x00ean l\x00e0 đ\x00fang sự thật v\x00e0 xin chịu ho\x00e0n to\x00e0n tr\x00e1ch nhiệm trước ph\x00e1p luật.";
            this.xrTableCell1.TextAlignment = TextAlignment.TopJustify;
            this.xrTableCell1.Weight = 1.0669361486294937;
            this.xrTableCell4.Name = "xrTableCell4";
            this.xrTableCell4.Weight = 0.064415440926306772;
            this.xrTableCell2.Font = new Font("Times New Roman", 12f);
            this.xrTableCell2.Multiline = true;
            this.xrTableCell2.Name = "xrTableCell2";
            this.xrTableCell2.StylePriority.UseFont = false;
            this.xrTableCell2.StylePriority.UseTextAlignment = false;
            this.xrTableCell2.Text = "Sau khi kiểm tra, đối chiếu x\x00e1c nhận c\x00e1c nội dung k\x00ea khai tr\x00ean l\x00e0 đ\x00fang v\x00e0 xin chịu ho\x00e0n to\x00e0n tr\x00e1ch nhiệm trước ph\x00e1p luật.\r\n";
            this.xrTableCell2.TextAlignment = TextAlignment.TopJustify;
            this.xrTableCell2.Weight = 1.0506759477065846;
            this.xrTableRow3.Cells.AddRange(new XRTableCell[] { this.xrTableCell7, this.xrTableCell9 });
            this.xrTableRow3.Font = new Font("Times New Roman", 9.75f, FontStyle.Italic);
            this.xrTableRow3.Name = "xrTableRow3";
            this.xrTableRow3.StylePriority.UseFont = false;
            this.xrTableRow3.Weight = 0.65156832961338729;
            this.xrTableCell7.Font = new Font("Times New Roman", 12f, FontStyle.Italic);
            this.xrTableCell7.Multiline = true;
            this.xrTableCell7.Name = "xrTableCell7";
            this.xrTableCell7.StylePriority.UseFont = false;
            this.xrTableCell7.StylePriority.UseTextAlignment = false;
            this.xrTableCell7.Text = ".........., ng\x00e0y ....... th\x00e1ng ....... năm ...........";
            this.xrTableCell7.TextAlignment = TextAlignment.MiddleCenter;
            this.xrTableCell7.Weight = 1.0976101424813502;
            this.xrTableCell9.Font = new Font("Times New Roman", 12f, FontStyle.Italic);
            this.xrTableCell9.Name = "xrTableCell9";
            this.xrTableCell9.StylePriority.UseFont = false;
            this.xrTableCell9.StylePriority.UseTextAlignment = false;
            this.xrTableCell9.Text = "Ng\x00e0y......... th\x00e1ng........ năm...............";
            this.xrTableCell9.TextAlignment = TextAlignment.MiddleCenter;
            this.xrTableCell9.Weight = 1.0844173947810347;
            this.xrTableRow4.Cells.AddRange(new XRTableCell[] { this.xrTableCell10, this.xrTableCell12 });
            this.xrTableRow4.Font = new Font("Times New Roman", 9.75f, FontStyle.Bold);
            this.xrTableRow4.Name = "xrTableRow4";
            this.xrTableRow4.StylePriority.UseFont = false;
            this.xrTableRow4.Weight = 0.825783591981554;
            this.xrTableCell10.Font = new Font("Times New Roman", 12f, FontStyle.Bold);
            this.xrTableCell10.Multiline = true;
            this.xrTableCell10.Name = "xrTableCell10";
            this.xrTableCell10.StylePriority.UseFont = false;
            this.xrTableCell10.StylePriority.UseTextAlignment = false;
            this.xrTableCell10.Text = "Người khai\r\n(K\x00fd, ghi r\x00f5 họ t\x00ean)";
            this.xrTableCell10.TextAlignment = TextAlignment.TopCenter;
            this.xrTableCell10.Weight = 1.0976102232783491;
            this.xrTableCell12.Font = new Font("Times New Roman", 12f, FontStyle.Bold);
            this.xrTableCell12.Name = "xrTableCell12";
            this.xrTableCell12.StylePriority.UseFont = false;
            this.xrTableCell12.StylePriority.UseTextAlignment = false;
            this.xrTableCell12.Text = "Người sử dụng lao động";
            this.xrTableCell12.TextAlignment = TextAlignment.TopCenter;
            this.xrTableCell12.Weight = 1.0844173139840358;
            this.xrTable1.LocationFloat = new PointFloat(0.3335555f, 0f);
            this.xrTable1.Name = "xrTable1";
            this.xrTable1.Rows.AddRange(new XRTableRow[] { this.xrTableRow2 });
            this.xrTable1.SizeF = new SizeF(741.6666f, 44.79167f);
            this.xrTableRow2.Cells.AddRange(new XRTableCell[] { this.xrTableCell3, this.xrTableCell5 });
            this.xrTableRow2.Name = "xrTableRow2";
            this.xrTableRow2.Weight = 1.0;
            this.xrTableCell3.Font = new Font("Times New Roman", 12f, FontStyle.Bold);
            this.xrTableCell3.Name = "xrTableCell3";
            this.xrTableCell3.StylePriority.UseFont = false;
            this.xrTableCell3.StylePriority.UseTextAlignment = false;
            this.xrTableCell3.Text = "BẢO HIỂM X\x00c3 HỘI VIỆT NAM";
            this.xrTableCell3.TextAlignment = TextAlignment.TopLeft;
            this.xrTableCell3.Weight = 1.4613646411058552;
            this.xrTableCell5.Font = new Font("Times New Roman", 12f, FontStyle.Bold);
            this.xrTableCell5.Multiline = true;
            this.xrTableCell5.Name = "xrTableCell5";
            this.xrTableCell5.StylePriority.UseFont = false;
            this.xrTableCell5.StylePriority.UseTextAlignment = false;
            this.xrTableCell5.Text = "CỘNG HO\x00c0 X\x00c3 HỘI CHỦ NGHĨA VIỆT NAM\r\nĐộc lập - Tự do - Hạnh ph\x00fac";
            this.xrTableCell5.TextAlignment = TextAlignment.TopCenter;
            this.xrTableCell5.Weight = 1.5386353588941448;
            this.xrLabel1.Font = new Font("Times New Roman", 9.75f, FontStyle.Bold);
            this.xrLabel1.LocationFloat = new PointFloat(493.8818f, 52.95833f);
            this.xrLabel1.Name = "xrLabel1";
            this.xrLabel1.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel1.SizeF = new SizeF(249.4101f, 17.70833f);
            this.xrLabel1.StylePriority.UseFont = false;
            this.xrLabel1.StylePriority.UseTextAlignment = false;
            this.xrLabel1.Text = "Mẫu số: A01-TS";
            this.xrLabel1.TextAlignment = TextAlignment.MiddleCenter;
            this.xrLabel25.Font = new Font("Times New Roman", 9.25f, FontStyle.Italic);
            this.xrLabel25.LocationFloat = new PointFloat(493.8818f, 70.66666f);
            this.xrLabel25.Multiline = true;
            this.xrLabel25.Name = "xrLabel25";
            this.xrLabel25.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel25.SizeF = new SizeF(249.4101f, 40.04165f);
            this.xrLabel25.StylePriority.UseFont = false;
            this.xrLabel25.StylePriority.UseTextAlignment = false;
            this.xrLabel25.Text = "(Ban h\x00e0nh k\x00e8m theo QĐ số: 1111/QĐ-BHXH\r\n Ng\x00e0y 25/10/2011 của BHXH Việt Nam)";
            this.xrLabel25.TextAlignment = TextAlignment.MiddleCenter;
            this.xrPictureBox1.Borders = BorderSide.All;
            this.xrPictureBox1.LocationFloat = new PointFloat(0f, 53.95832f);
            this.xrPictureBox1.Name = "xrPictureBox1";
            this.xrPictureBox1.SizeF = new SizeF(2f, 2f);
            this.xrPictureBox1.StylePriority.UseBorders = false;
            this.ptPhoto.Borders = BorderSide.All;
            this.ptPhoto.LocationFloat = new PointFloat(0.999999f, 55.95832f);
            this.ptPhoto.Name = "ptPhoto";
            this.ptPhoto.SizeF = new SizeF(101.0417f, 100f);
            this.ptPhoto.Sizing = ImageSizeMode.ZoomImage;
            this.ptPhoto.StylePriority.UseBorders = false;
            this.xrLabel4.Font = new Font("Times New Roman", 14f, FontStyle.Bold);
            this.xrLabel4.LocationFloat = new PointFloat(0f, 66.66666f);
            this.xrLabel4.Multiline = true;
            this.xrLabel4.Name = "xrLabel4";
            this.xrLabel4.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel4.SizeF = new SizeF(673.2916f, 57.54167f);
            this.xrLabel4.StylePriority.UseFont = false;
            this.xrLabel4.StylePriority.UseTextAlignment = false;
            this.xrLabel4.Text = "TỜ KHAI THAM GIA \r\nBẢO HIỂM X\x00c3 HỘI, BẢO HIỂM Y TẾ";
            this.xrLabel4.TextAlignment = TextAlignment.MiddleCenter;
            this.txtCourseMonthYear.Font = new Font("Times New Roman", 11f, FontStyle.Italic | FontStyle.Bold);
            this.txtCourseMonthYear.LocationFloat = new PointFloat(0f, 128.2083f);
            this.txtCourseMonthYear.Name = "txtCourseMonthYear";
            this.txtCourseMonthYear.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.txtCourseMonthYear.SizeF = new SizeF(673.2916f, 17.70834f);
            this.txtCourseMonthYear.StylePriority.UseFont = false;
            this.txtCourseMonthYear.StylePriority.UseTextAlignment = false;
            this.txtCourseMonthYear.Text = "M\x00e3 số: [DeclarationCode]";
            this.txtCourseMonthYear.TextAlignment = TextAlignment.MiddleCenter;
            this.xrLabel2.Font = new Font("Times New Roman", 11f);
            this.xrLabel2.LocationFloat = new PointFloat(0.999999f, 85.7083f);
            this.xrLabel2.Multiline = true;
            this.xrLabel2.Name = "xrLabel2";
            this.xrLabel2.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel2.SizeF = new SizeF(101.0417f, 38.50002f);
            this.xrLabel2.StylePriority.UseFont = false;
            this.xrLabel2.StylePriority.UseTextAlignment = false;
            this.xrLabel2.Text = "Ảnh\r\n3x4";
            this.xrLabel2.TextAlignment = TextAlignment.TopCenter;
            this.TopMargin.HeightF = 47f;
            this.TopMargin.Name = "TopMargin";
            this.TopMargin.Padding = new PaddingInfo(0, 0, 0, 0, 100f);
            this.TopMargin.TextAlignment = TextAlignment.TopLeft;
            this.BottomMargin.HeightF = 56f;
            this.BottomMargin.Name = "BottomMargin";
            this.BottomMargin.Padding = new PaddingInfo(0, 0, 0, 0, 100f);
            this.BottomMargin.TextAlignment = TextAlignment.TopLeft;
            this.DetailReport.Bands.AddRange(new Band[] { this.Detail1, this.GroupHeader1 });
            this.DetailReport.Level = 0;
            this.DetailReport.Name = "DetailReport";
            this.Detail1.Controls.AddRange(new XRControl[] { this.xrTable4 });
            this.Detail1.HeightF = 24.37502f;
            this.Detail1.Name = "Detail1";
            this.xrTable4.Borders = BorderSide.Bottom | BorderSide.Right | BorderSide.Left;
            this.xrTable4.Font = new Font("Times New Roman", 10f);
            this.xrTable4.LocationFloat = new PointFloat(0f, 0f);
            this.xrTable4.Name = "xrTable4";
            this.xrTable4.Rows.AddRange(new XRTableRow[] { this.xrTableRow7 });
            this.xrTable4.SizeF = new SizeF(744f, 24.37502f);
            this.xrTable4.StylePriority.UseBorders = false;
            this.xrTable4.StylePriority.UseFont = false;
            this.xrTableRow7.Borders = BorderSide.Bottom | BorderSide.Right | BorderSide.Left;
            this.xrTableRow7.Cells.AddRange(new XRTableCell[] { this.dtFromDate, this.dtToDate, this.txtDescription, this.txtFoundation, this.txtSocialInsurance, this.txtHealthInsurance });
            this.xrTableRow7.Font = new Font("Times New Roman", 11f);
            this.xrTableRow7.Name = "xrTableRow7";
            this.xrTableRow7.StylePriority.UseBorders = false;
            this.xrTableRow7.StylePriority.UseFont = false;
            this.xrTableRow7.Weight = 0.709091630415483;
            this.dtFromDate.Name = "dtFromDate";
            this.dtFromDate.StylePriority.UseTextAlignment = false;
            this.dtFromDate.Text = "[Fromdate!MM/yyyy]";
            this.dtFromDate.TextAlignment = TextAlignment.MiddleCenter;
            this.dtFromDate.Weight = 0.40044525311943607;
            this.dtToDate.Name = "dtToDate";
            this.dtToDate.StylePriority.UseTextAlignment = false;
            this.dtToDate.Text = "[Todate!MM/yyyy]";
            this.dtToDate.TextAlignment = TextAlignment.MiddleCenter;
            this.dtToDate.Weight = 0.41676946481948268;
            this.txtDescription.Name = "txtDescription";
            this.txtDescription.Padding = new PaddingInfo(4, 0, 0, 0, 100f);
            this.txtDescription.StylePriority.UsePadding = false;
            this.txtDescription.StylePriority.UseTextAlignment = false;
            this.txtDescription.Text = "[Description]";
            this.txtDescription.TextAlignment = TextAlignment.MiddleLeft;
            this.txtDescription.Weight = 1.7604702269215788;
            this.txtFoundation.Name = "txtFoundation";
            this.txtFoundation.Padding = new PaddingInfo(0, 4, 0, 0, 100f);
            this.txtFoundation.StylePriority.UsePadding = false;
            this.txtFoundation.StylePriority.UseTextAlignment = false;
            this.txtFoundation.Text = "[Foundation!#,0]";
            this.txtFoundation.TextAlignment = TextAlignment.MiddleRight;
            this.txtFoundation.Weight = 0.39022848023377688;
            this.txtSocialInsurance.Name = "txtSocialInsurance";
            this.txtSocialInsurance.Padding = new PaddingInfo(4, 0, 0, 0, 100f);
            this.txtSocialInsurance.StylePriority.UsePadding = false;
            this.txtSocialInsurance.StylePriority.UseTextAlignment = false;
            this.txtSocialInsurance.Text = "[SocialInsurance]";
            this.txtSocialInsurance.TextAlignment = TextAlignment.MiddleCenter;
            this.txtSocialInsurance.Weight = 0.51238335120152456;
            this.txtHealthInsurance.Name = "txtHealthInsurance";
            this.txtHealthInsurance.Padding = new PaddingInfo(4, 0, 0, 0, 100f);
            this.txtHealthInsurance.StylePriority.UsePadding = false;
            this.txtHealthInsurance.StylePriority.UseTextAlignment = false;
            this.txtHealthInsurance.Text = "[HealthInsurance]";
            this.txtHealthInsurance.TextAlignment = TextAlignment.MiddleCenter;
            this.txtHealthInsurance.Weight = 0.48550795159980764;
            this.GroupHeader1.Borders = BorderSide.Bottom | BorderSide.Right | BorderSide.Left;
            this.GroupHeader1.Controls.AddRange(new XRControl[] { this.xrTable2 });
            this.GroupHeader1.HeightF = 41f;
            this.GroupHeader1.Name = "GroupHeader1";
            this.GroupHeader1.StylePriority.UseBorders = false;
            this.xrTable2.AnchorVertical = VerticalAnchorStyles.Bottom;
            this.xrTable2.Borders = BorderSide.All;
            this.xrTable2.Font = new Font("Times New Roman", 10f);
            this.xrTable2.LocationFloat = new PointFloat(0f, 1.525879E-05f);
            this.xrTable2.Name = "xrTable2";
            this.xrTable2.Rows.AddRange(new XRTableRow[] { this.xrTableRow6 });
            this.xrTable2.SizeF = new SizeF(742.7082f, 40.99998f);
            this.xrTable2.StylePriority.UseBorders = false;
            this.xrTable2.StylePriority.UseFont = false;
            this.xrTableRow6.Cells.AddRange(new XRTableCell[] { this.xrTableCell6, this.xrTableCell21, this.xrTableCell14, this.xrTableCell20, this.xrTableCell19, this.xrTableCell15 });
            this.xrTableRow6.Font = new Font("Times New Roman", 11f, FontStyle.Bold);
            this.xrTableRow6.Name = "xrTableRow6";
            this.xrTableRow6.StylePriority.UseFont = false;
            this.xrTableRow6.Weight = 1.3119995117187502;
            this.xrTableCell6.CanGrow = false;
            this.xrTableCell6.Name = "xrTableCell6";
            this.xrTableCell6.StylePriority.UseTextAlignment = false;
            this.xrTableCell6.Text = "Từ th\x00e1ng, năm";
            this.xrTableCell6.TextAlignment = TextAlignment.MiddleCenter;
            this.xrTableCell6.Weight = 0.30414992764740562;
            this.xrTableCell21.CanGrow = false;
            this.xrTableCell21.Name = "xrTableCell21";
            this.xrTableCell21.StylePriority.UseTextAlignment = false;
            this.xrTableCell21.Text = "Đến th\x00e1ng, năm";
            this.xrTableCell21.TextAlignment = TextAlignment.MiddleCenter;
            this.xrTableCell21.Weight = 0.31654859777311495;
            this.xrTableCell14.CanGrow = false;
            this.xrTableCell14.Name = "xrTableCell14";
            this.xrTableCell14.StylePriority.UseTextAlignment = false;
            this.xrTableCell14.Text = "Diễn giải";
            this.xrTableCell14.TextAlignment = TextAlignment.MiddleCenter;
            this.xrTableCell14.Weight = 1.3371287986141644;
            this.xrTableCell20.CanGrow = false;
            this.xrTableCell20.Name = "xrTableCell20";
            this.xrTableCell20.StylePriority.UseTextAlignment = false;
            this.xrTableCell20.Text = "Căn cứ đ\x00f3ng";
            this.xrTableCell20.TextAlignment = TextAlignment.MiddleCenter;
            this.xrTableCell20.Weight = 0.29639000070507537;
            this.xrTableCell19.CanGrow = false;
            this.xrTableCell19.Multiline = true;
            this.xrTableCell19.Name = "xrTableCell19";
            this.xrTableCell19.StylePriority.UseTextAlignment = false;
            this.xrTableCell19.Text = "Tỷ lệ đ\x00f3ng (%) BHXH";
            this.xrTableCell19.TextAlignment = TextAlignment.MiddleCenter;
            this.xrTableCell19.Weight = 0.38917001755934205;
            this.xrTableCell15.CanGrow = false;
            this.xrTableCell15.Name = "xrTableCell15";
            this.xrTableCell15.StylePriority.UseTextAlignment = false;
            this.xrTableCell15.Text = "Tỷ lệ đ\x00f3ng (%) BHTN";
            this.xrTableCell15.TextAlignment = TextAlignment.MiddleCenter;
            this.xrTableCell15.Weight = 0.36352791505423232;
            base.Bands.AddRange(new Band[] { this.Detail, this.TopMargin, this.BottomMargin, this.DetailReport });
            base.Margins = new Margins(0x31, 0x22, 0x2f, 0x38);
            base.PageHeight = 0x491;
            base.PageWidth = 0x33b;
            base.PaperKind = PaperKind.A4;
            base.Version = "9.3";
            this.BeforePrint += new PrintEventHandler(this.rptA01TS_BeforePrint);
            this.xrRichText1.EndInit();
            this.xrTable3.EndInit();
            this.xrTable1.EndInit();
            this.xrTable4.EndInit();
            this.xrTable2.EndInit();
            this.EndInit();
        }

        private void LoadA01TS()
        {
            HRM_EMPLOYEE hrm_employee = new HRM_EMPLOYEE();
            hrm_employee.Get(this.m_EmployeeCode);
            this.ptPhoto.Image = hrm_employee.Photo;
            DataSet set = new DataSet();
            DataTable table = new DataTable();
            table = this.cls.GetA01TS(this.m_EmployeeCode);
            set.Tables.Add(table);
            base.DataSource = set;
            base.DataMember = table.TableName;
            base.DataAdapter = table;
            DataSet set2 = new DataSet();
            DataTable list = new DataTable();
            list = new HRM_INSURANCE_PROCESS().GetList(this.m_EmployeeCode);
            set2.Tables.Add(list);
            this.DetailReport.DataSource = set2;
            this.DetailReport.DataMember = list.TableName;
            this.DetailReport.DataAdapter = list;
        }

        private void rptA01TS_BeforePrint(object sender, PrintEventArgs e)
        {
            this.LoadA01TS();
        }
    }
}

